package com.yaowk.event.event;

import com.yaowk.event.model.NotifyModel;
import net.dreamlu.event.core.ApplicationEvent;

/**
 * Created by yaowk on 17-9-1.
 */
public class NotifyEvent extends ApplicationEvent {
    public NotifyEvent(NotifyModel source) {
        super(source);
    }

    @Override
    public NotifyModel getSource() {
        return (NotifyModel) super.getSource();
    }

    public static final String GOODS_CRITICAL = "goodsCritical"; // 商品临界值
    public static final String GOODS_EMPTY = "goodsEmpty"; // 商品空了
}
